package cert.model;

import java.io.IOException;
import java.security.KeyPair;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;

import cert.utils.KeyGen;

public class CertAuthority {
	
	public static final String keyLocation ="C:\\CA\\Keys";
	public static final String certLocation ="C:\\CA\\Certifcates";

	public static KeyPair getKeyPair() throws NoSuchAlgorithmException, InvalidKeySpecException, IOException{
		return KeyGen.LoadKeyPair(keyLocation,"RSA");
	}
}
